projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40a8a12
)
* lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
author
Nicolas Petton
<nicolas@petton.fr>
Sat, 25 Apr 2015 14:56:19 +0000
(16:56 +0200)
committer
Nicolas Petton
<nicolas@petton.fr>
Sat, 25 Apr 2015 14:56:19 +0000
(16:56 +0200)
lisp/emacs-lisp/map.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/map.el
b/lisp/emacs-lisp/map.el
index b64b2bff7681bd28c6a994e357fedcc0476b920d..3efab4048960b1d7aeaf5d6220069b134343c54e 100644
(file)
--- a/
lisp/emacs-lisp/map.el
+++ b/
lisp/emacs-lisp/map.el
@@
-254,7
+254,7
@@
form.
map)))
(defun map--elt-list (map key &optional default)
- "
Return the element of the list MAP at the index KEY
.
+ "
Lookup, in the list MAP, the value associated with KEY and return it
.
If KEY is not found, return DEFAULT which defaults to nil."
(let ((pair (assoc key map)))
(if pair